package com.example.java250729_springboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Data
//@Getter
//@Setter
//@AllArgsConstructor
public class MessageInfo {
    private Integer id;
    private String from;
    private String to;
    private String message;
    private Integer deleteFlag;
    private Date createTime;
    private Date updateTime;
    public MessageInfo(){

    }
    public MessageInfo(String from, String to, String message) {
        this.from = from;
        this.to = to;
        this.message = message;
    }
}





































